Partially Persistent Search Trees with Transcript Operations

نویسنده

  • Kim S. Larsen
چکیده

When balanced binary search trees are made partially persistent using the node-copying method [5], the possibility of searching efficiently for information in the past is added to the system. The operations of updating the present version and searching in the present as well as in the past are asymptotically as efficient as in the corresponding normal (non-persistent) binary search tree. In database applications, it is sometimes desirable to produce transcripts of information change over time. If we wish to obtain a transcript of information related to some key k from version number v1 to v2, this can be obtained by independent search operations in all versions in that interval in time O ph , where h is the maximum height of the search tree in that interval, and p v2 v1 1 is the number of versions between v1 and v2. We discuss when and how this can be reduced to O h p by maintaining one extra pointer with a version number in each node, without changing the asymptotic complexity of any of the existing operations. In database applications, search trees are usually leaf-oriented, which means that all keys reside in the leaves, and internal nodes contain routers guiding the search to the correct leaf. Leaves are often of another type than the internal nodes, and contain extra pointers or space consuming values associated with

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Versioning Tree Structures by Path-Merging

We propose path-merging as a refinement of techniques used to make linked data structures partially persistent. Path-merging supports bursts of operations between any two adjacent versions in contrast to only one operation in the original variant. The superiority of the method is shown both theoretically and experimentally. Details of the technique are explained for the case of binary search tr...

متن کامل

Finger trees: a simple general-purpose data structure

We introduce 2-3 finger trees, a functional representation of persistent sequences supporting access to the ends in amortized constant time, and concatenation and splitting in time logarithmic in the size of the smaller piece. Representations achieving these bounds have appeared previously, but 2-3 finger trees are much simpler, as are the operations on them. Further, by defining the split oper...

متن کامل

DeltaTree: A Practical Locality-aware Concurrent Search Tree

As other fundamental programming abstractions in energy-efficient computing, search trees are expected to support both high parallelism and data locality. However, existing highly-concurrent search trees such as red-black trees and AVL trees do not consider data locality while existing locality-aware search trees such as those based on the van Emde Boas layout (vEB-based trees), poorly support ...

متن کامل

Endurable Transient Inconsistency in Byte-Addressable Persistent B+-Tree

With the emergence of byte-addressable persistent memory (PM), a cache line, instead of a page, is expected to be the unit of data transfer between volatile and nonvolatile devices, but the failure-atomicity of write operations is guaranteed in the granularity of 8 bytes rather than cache lines. This granularity mismatch problem has generated interest in redesigning block-based data structures ...

متن کامل

Persistent B+-Trees in Non-Volatile Main Memory

Computer systems in the near future are expected to have NonVolatile Main Memory (NVMM), enabled by a new generation of Non-Volatile Memory (NVM) technologies, such as Phase Change Memory (PCM), STT-MRAM, and Memristor. The non-volatility property has the promise to persist in-memory data structures for instantaneous failure recovery. However, realizing such promise requires a careful design to...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Discrete Mathematics & Theoretical Computer Science

دوره 3  شماره 

صفحات  -

تاریخ انتشار 1998